import request from '@/utils/request'

// 查询每日股票信息列表
export function listStockdayinfo(query) {
  return request({
    url: '/stock/stockdayinfo/list',
    method: 'get',
    params: query
  })
}

// 查询每日股票信息详细
export function getStockdayinfo(dayInfoId) {
  return request({
    url: '/stock/stockdayinfo/' + dayInfoId,
    method: 'get'
  })
}

// 新增每日股票信息
export function addStockdayinfo(data) {
  return request({
    url: '/stock/stockdayinfo',
    method: 'post',
    data: data
  })
}

// 修改每日股票信息
export function updateStockdayinfo(data) {
  return request({
    url: '/stock/stockdayinfo',
    method: 'put',
    data: data
  })
}

// 删除每日股票信息
export function delStockdayinfo(dayInfoId) {
  return request({
    url: '/stock/stockdayinfo/' + dayInfoId,
    method: 'delete'
  })
}
